import {createRouter, createWebHistory} from 'vue-router'
import Home from '../App.vue'


const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: "/",
            component: Home,
            children: [
                {
                    path: "/",
                    component: () => import('../view/table/index.vue')
                },
                {
                    path: "/button",
                    component: () => import('../view/test/button.vue')
                },
                {
                    path: "/tt",
                    component: () => import('../view/table/tt.vue')
                }
            ]
        }
    ]
})

export default router
